﻿using BankTransfer.Bank.Types.Enum;

namespace BankTransfer.Bank.Application
{
    public interface ITransferService
    {
        /// <summary>
        /// 转账
        /// </summary>
        /// <param name="sourceUserId">来源用户</param>
        /// <param name="targetAccountNumber">目标账户</param>
        /// <param name="targetAmount">转账数量</param>
        /// <param name="targetCurrency">货币</param>
        /// <returns></returns>
        public bool Transfer(long sourceUserId, string targetAccountNumber, decimal targetAmount, Currency targetCurrency);
    }
}